#include <iostream>
#include <cmath>
#include "func.h"

using namespace std;


int main()
{
    cout<<"Area of point is "<<area()<<'\n';
    cout<<"Area of square is "<<area(1,1)<<'\n';
    cout<<"Area of circle is "<<area(0.5)<<endl;
    cout<<"Area of trapezium is "<< area(1,0.5,1)<<endl;
    cout<<"Area of triangle is "<< area(1,sqrt(1+0.5*0.5),sqrt(1+0.5*0.5),0)<<endl; 

    return 0;
}